package com.alex.designPattern.composite;

/**
 * 叶子节点
 * @author alex
 *
 */
public class Leaf extends Node {
	
	@Override
	public void show() {
		System.out.println(super.getText());
	}

}
